package com.liao.quart.utils;

import java.text.SimpleDateFormat;

public class DateUtils {
    private static final ThreadLocal<SimpleDateFormat> dateFormat = ThreadLocal.withInitial(() -> new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"));

    public static SimpleDateFormat getDateFormat() {
        return dateFormat.get();
    }
}